// ------------ 贵州 ----------------
import fa from "element-ui/src/locale/lang/fa";

const mapLevel = 2;
const index = {
    center: [108.444297, 26.954558],
    zoom: 6,
    enable: true,
    style: "amap://styles/blue",
    adcode: 500000,
    viewMode: "2D"
};

const indexHeat = {
    center: [108.444297, 26.954558],
    zoom: 6,
    enable: true,
    style: "amap://styles/blue",
    adcode: 500000,
    viewMode: "2D"
};

const bigDataHeat = {
    center: [108.444297, 26.954558],
    zoom: 6,
    enable: true,
    style: "amap://styles/blue",
    adcode: 500000,
    viewMode: "2D"
};

const brocast = {
    center: [108.444297, 26.954558],
    zoom: 15,
    enable: true,
    style: "amap://styles/blue",
    adcode: 500000,
    viewMode: "2D"
};

const brocastRange = {
    center: [108.444297, 26.954558],
    zoom: 6,
    enable: true,
    style: "amap://styles/blue",
    adcode: 500000,
    viewMode: "2D"
};

const workPath = {
    center: [108.444297, 26.954558],
    zoom: 6,
    enable: true,
    style: "amap://styles/blue",
    adcode: 500000,
    viewMode: "2D"
};

const guizhouSettingList = {
    "index": index,
    "indexHeat": indexHeat,
    "bigDataHeat": bigDataHeat,
    "brocast": brocast,
    "brocastRange": brocastRange,
    "workPath": workPath,
}
// ---------- 乌海 --------------------
const indexWH = {
    center: [106.838037, 39.452439],
    zoom: 10,
    enable: false,
    style: "amap://styles/blue",
    adcode: 150300,
    viewMode: "2D"
};

const indexHeatWH = {
    center: [107.009737, 39.667095],
    zoom: 8,
    enable: false,
    style: "amap://styles/blue",
    adcode: 150300,
    viewMode: "2D"
};

const bigDataHeatWH = {
    center: [106.946401, 39.458562],
    zoom: 9,
    enable: true,
    style: "amap://styles/blue",
    adcode: 150300,
    viewMode: "2D"
};

const brocastWH = {
    center: [106.823609, 39.473521],
    zoom: 9,
    enable: true,
    style: "amap://styles/blue",
    adcode: 150300,
    viewMode: "2D"
};

const brocastRangeWH = {
    center: [106.939642, 39.464367],
    zoom: 8,
    enable: false,
    style: "amap://styles/blue",
    adcode: 150300,
    viewMode: "2D"
};

const workPathWH = {
    center: [106.794051, 39.654556],
    zoom: 9,
    enable: true,
    style: "amap://styles/blue",
    adcode: 150300,
    viewMode: "2D"
};

const SettingListWH = {
    "index": indexWH,
    "indexHeat": indexHeatWH,
    "bigDataHeat": bigDataHeatWH,
    "brocast": brocastWH,
    "brocastRange": brocastRangeWH,
    "workPath": workPathWH,
}
// --------------- 北京 -----------------
const indexBJ = {
    center: [116.472307, 40.202979],
    zoom: 9,
    enable: true,
    style: "amap://styles/blue",
    adcode: 110000,
    viewMode: "3D"
};


const SettingListBJ = {
    "index": indexWH,
    "indexHeat": indexHeatWH,
    "bigDataHeat": bigDataHeatWH,
    "brocast": brocastWH,
    "brocastRange": brocastRangeWH,
    "workPath": workPathWH,
    "mapLevel": mapLevel
}

//------------------- 陕西 ---------------------------

const indexSXII = {
    center: [108.223401, 30.20041],
    zoom: 8.07,
    enable: false,
    style: "amap://styles/blue",
    adcode: 500000,
    viewMode: "3D"
};

const indexHeatSXII = {
    center: [107.803628, 30.158264],
    zoom: 6,
    enable: false,
    style: "amap://styles/blue",
    adcode: 500000,
    viewMode: "2D"
};

const bigDataHeatSXII = {
    center: [107.978885, 30.190692],
    zoom: 6.79,
    enable: false,
    style: "amap://styles/blue",
    adcode: 500000,
    viewMode: "3D"
};

const brocastSXII = {
    center: [108.497007, 30.032759],
    zoom: 7,
    enable: true,
    style: "amap://styles/blue",
    adcode: 500000,
    viewMode: "2D"
};

const brocastRangeSXII = {
    center: [108.382492, 30.0703],
    zoom: 6.73,
    enable: false,
    style: "amap://styles/blue",
    adcode: 500000,
    viewMode: "3D"
};

const workPathSXII = {
    center: [107.687847, 30.163279],
    zoom: 7,
    enable: true,
    style: "amap://styles/blue",
    adcode: 500000,
    viewMode: "2D"
};
const SettingListSXII = {
    "index": indexSXII,
    "indexHeat": indexHeatSXII,
    "bigDataHeat": bigDataHeatSXII,
    "brocast": brocastSXII,
    "brocastRange": brocastRangeSXII,
    "workPath": workPathSXII,
    "mapLevel": mapLevel
}

export function mapSetting(mapName) {
    return SettingListBJ[mapName];
}